package com.hospital.doctor.service;

import com.hospital.doctor.mapper.LoginMapper;
import com.hospital.doctor.pojo.Doctor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author QIUYANG
 * @title: LoginServiceImpl
 * @description: TODO
 * @date 2021/5/611:09
 */
@Service
public class LoginServiceImpl implements LoginService {

   @Autowired
   private LoginMapper loginMapper;

    @Override
    public Doctor login(Doctor doctor) {
        return loginMapper.login(doctor);
    }
}
